`<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>角色设置</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="stylesheet" href="${basePath!}/genius/layui/css/layui.css" media="all">
<link rel="stylesheet" href="${basePath!}/genius/style/admin.css" media="all">
 
  <style>
  	.layui-nav .layui-this::after, .layui-nav-bar, .layui-nav-tree .layui-nav-itemed::after {background:rgba(0,0,0,0);}
  	/* 防止下拉框的下拉列表被隐藏---必须设置--- 此样式和表格的样式有冲突 如果表格列数太多 会出现错乱的情况 目前我的解决方法是忽略下拉框的美化渲染 <select lay-ignore> */
  
		
		.layui-card-body{
/* 			height:2000px; */
		}


        /* 设置下拉框的高度与表格单元相同 */

	.layui-form,html,body,.layui-fluid,.layui-card,.layui-card-body,.layui-col-space10,.layui-col-md8,.layui-elem-field,.layui-card .layui-table-view{
		height:99%!important;
	}
	.table_box{
		height:95%!important;
	}
	.ew-tree-table-box{ height:660px!important;}
	.laytable-cell-radio{ padding-top:13px!important;}
  </style>
</head>
</head>

<script type="text/html" id="goodsSelect">
  <input type="text" name="goodsId"  readonly style="margin-top: 0px;" value="{{d.supplier==undefined?'':d.supplier}}" id="{{'tableGoodsId'+(d.LAY_TABLE_INDEX+1)}}" class="layui-input layui-table-input">
</script>  
<!-- <a class="layui-btn layui-btn-xs" lay-event="edit">保存</a> -->
<script type="text/html" id="opeTable">
	
  	<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>
<script type="text/html" id="zizeng">
{{d.LAY_TABLE_INDEX+1}}
</script>


<script type="text/html" id="unitSelect">
	 <input type="checkbox" id="{{'din'+(d.LAY_TABLE_INDEX+1)}}"  {{ d.attribute.charAt('0')=='1' ? 'value=1' : 'value=0' }} 
			 lay-filter="lockDemo" title="可订货"  {{ d.attribute.charAt('0')=='1' ? 'checked' : '' }} >
     
	 <input type="checkbox" id="{{'tui'+(d.LAY_TABLE_INDEX+1)}}"  {{ d.attribute.charAt('2')=='1' ? 'value=1' : 'value=0' }} 
			 lay-filter="lockDemo" title="可退货"   {{ d.attribute.charAt('2')=='1' ? 'checked' : '' }} >
</script>

<script type="text/html" id="start">
    <input type="text" class="layui-input" name='startdate' readonly    id="{{'sdate'+(d.LAY_TABLE_INDEX+1)}}"  value="{{d.startdate==undefined?'':d.startdate}}"  placeholder="yyyy-MM-dd">
</script>
<script type="text/html" id="end">
    <input type="text" class="layui-input" name='enddate' readonly   id="{{'edate'+(d.LAY_TABLE_INDEX+1)}}"  value="{{d.enddate==undefined?'':d.enddate}}"  placeholder="yyyy-MM-dd">
</script>


<script src="${basePath!}/genius/layui/layui.js" charset="utf-8"></script>

<body style="overflow: hidden;">
	
<div class="layui-fluid">	
<div class="layui-card">
<div class="layui-card-body" >


  <div class="layui-row layui-col-space10">

    <div class="layui-col-md3">
        <div class="layui-card">
					
				<table id="LAY-role-list" lay-filter="LAY-role-list"></table>
				<script type="text/html" id="statusTpl">
       		    </script>	
			
        </div>
    </div>   
       
    <div class="layui-col-md8">  
        <div class="layui-card">
				
						 <fieldset class="layui-elem-field site-demo-button" style="margin-top: 10px; ">
						  <legend>供应商信息
							  <button class="layui-btn layui-btn-sm" id='insertine' data-type="addTable">
							 <i class="layui-icon layui-icon-add-circle"></i>添加一行</button>
                              <!--<button class="layui-btn layui-btn-warm layuiadmin-btn-admin"  data-type="save"><i class="layui-icon layui-icon-ok"></i>保存</button>-->
                              <button class="layui-btn layui-btn-sm layui-btn-warm layuiadmin-btn-admin" id='save' data-type="save">
                                  <i class="layui-icon layui-icon-ok"></i>保存</button>
                              <!--<button class="layui-btn layui-btn-danger layuiadmin-btn-admin"  data-type="backtable"><i class="layui-icon layui-icon-return"></i>返回表格</button>-->
                          </legend>
                             <h3 style="margin-top: 10px;margin-left: 40px" name="systemname" id="systemname">已选择系统:全部</h3>


                             <div class="table_box">
						 <table style="margin-top: 10px" id="LAY-genius-table" lay-filter="LAY-genius-table" ></table>
						  </div>
							
						  </fieldset>	
        </div>
    </div>   

  </div>
</div>
</div>
</div>
  <script src="${basePath!}/genius/layui/layui.js"></script>  
  <script>
  
//layui.config({
//base: '${basePath!}/genius/' //静态资源所在路径
//,host:'${basePath!}'//项目访问路径
//}).extend({
//index: 'lib/index' //主入口模块
//,role:'/adminmanager/role'
//}).use(['index','role']);
  layui.config({
	    base: '${basePath!}/genius/' 
	    ,host:'${basePath!}'//项目访问路径
	  }).extend({
		index:'lib/index'
	    ,edit: 'unite_platform/goods_system_supplier/index'
	  }).use(['index','edit'], function(){
		 var $ = layui.$
		 ,edit = layui.edit;
		 
		 var parentJson = {};
		 parentJson.classname = "${RequestParameters["classname"]}";
		 parentJson.bakUrl = "${RequestParameters["bakUrl"]}";
		 parentJson.currentMenuId = "${RequestParameters["currentMenuId"]}";
		  
		 edit.setParentJson(parentJson);
	  });
  </script>
</body>


</html>